package demo.yangxu.springboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//使用 MapperScan 批量扫描所有的 Mapper 接口
@MapperScan(value = "demo.yangxu.springboot.mapper")
@SpringBootApplication
public class Springboot05DataMybatisApplication {

    public static void main(String[] args) {
        SpringApplication.run(Springboot05DataMybatisApplication.class, args);
    }

}
